#ifndef STDFREADER_H_
#define STDFREADER_H_

#include <string>

#include "outformat.h"

using namespace std;
using namespace opsrc;

namespace opsrc {
    class OutFormat;
}

namespace opsrc 
{
    namespace stdf
    {

        // class declaration
        class StdfRecsCont;

        class StdfReader
        {
        public:

            StdfReader();
            virtual ~StdfReader();

            static string welcomeMessage();

            void openStdfFile(string filename);
            void closeStdfFile();
            void read();

            void initialize();
            void setOutFormat(OutFormat*& out);

        private:

            ifstream *file;   // stdf file pointer/handler
            string outputFolder;
            StdfRecsCont* stdfrecs;
            OutFormat* of;

  
        };

    }	// namespace stdf
}		// namespace opsrc
#endif /*STDFREADER_H_*/
